package com.jdbctemplate.dao;

import com.jdbctemplate.pojo.StudentInfo;


import java.util.List;

/**
 * @author 从卿
 * @create 2022/5/31-19:53
 */
public interface StudentInfoDao {
    int insertStudent(StudentInfo student);//添加

    int updateStudent(StudentInfo student);//更新

    StudentInfo findStuByName(String name);//用于预查询

    List<StudentInfo> selectStu();
}
